home *** CD-ROM | disk | FTP | other *** search
Wrap
aaaammmmccccoooonnnnffffiiiigggg((((1111mmmm)))) aaaammmmccccoooonnnnffffiiiigggg((((1111mmmm)))) NNNNAAAAMMMMEEEE amconfig - check or modify availmon configuration values SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS ////uuuussssrrrr////eeeettttcccc////aaaammmmccccoooonnnnffffiiiigggg [ {aaaauuuuttttooooeeeemmmmaaaaiiiillll|sssshhhhuuuuttttddddoooowwwwnnnnrrrreeeeaaaassssoooonnnn| ttttiiiicccckkkkeeeerrrrdddd|hhhhiiiinnnnvvvvuuuuppppddddaaaatttteeee} [ {oooonnnn|ooooffffffff} ] ] ////uuuussssrrrr////eeeettttcccc////aaaammmmccccoooonnnnffffiiiigggg ssssttttaaaattttuuuussssiiiinnnntttteeeerrrrvvvvaaaallll [ _d_a_y_s ] ////uuuussssrrrr////eeeettttcccc////aaaammmmccccoooonnnnffffiiiigggg ttttiiiicccckkkkdddduuuurrrraaaattttiiiioooonnnn [ _s_e_c_o_n_d_s ] ////uuuussssrrrr////eeeettttcccc////aaaammmmccccoooonnnnffffiiiigggg aaaauuuuttttooooeeeemmmmaaaaiiiillll....lllliiiisssstttt DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN _a_m_c_o_n_f_i_g is used to configure _a_v_a_i_l_m_o_n(5) via four configuration flags, two configuration values, and a list of email addresses. If no argument is given, _a_m_c_o_n_f_i_g shows the status of all flags and values and the content of the email lists. The first synopsis is for configuration flags. In this case, usage for showing status and turning flags on or off is the same as for _c_h_k_c_o_n_f_i_g(1M). The aaaauuuuttttooooeeeemmmmaaaaiiiillll flag controls automatic distribution of availmon reports according to aaaauuuuttttooooeeeemmmmaaaaiiiillll....lllliiiisssstttt. The sssshhhhuuuuttttddddoooowwwwnnnnrrrreeeeaaaassssoooonnnn flag enables prompting for the reason for taking the system down. The ttttiiiicccckkkkeeeerrrrdddd flag enables system uptime monitoring. The hhhhiiiinnnnvvvvuuuuppppddddaaaatttteeee flag enables checking for hardware inventory changes on each reboot and include such information in diagnosis reports. The second synopsis is for modifying the interval of sending status reports. Availmon will send status reports periodically if the system is up for an extended period of time, according to the value of ssssttttaaaattttuuuussssiiiinnnntttteeeerrrrvvvvaaaallll. If the interval is zero, no status reports will be sent. The status reports will be sent only if ttttiiiicccckkkkeeeerrrrdddd is oooonnnn. The third synopsis is for modifying ttttiiiicccckkkkdddduuuurrrraaaattttiiiioooonnnn value. _E_v_e_n_t_m_o_n_d(1M) records system uptime in tickfile (/var/adm/avail/.save/lasttick) every ttttiiiicccckkkkdddduuuurrrraaaattttiiiioooonnnn seconds. This information is used to estimate uptime in the case of a system hang. The fourth synopsis is for modifying email lists for automatic distribution of availmon reports. There are three kinds of reports: availability, diagnosis and pager. Availability and diagnosis reports can be sent in any of three formats: compressed and encrypted, compressed, and plain text. Pager reports are formatted only as concise plain text. _a_m_c_o_n_f_i_g invokes _v_i(1) to edit the email lists, which consist of report format specifications and associated address lists. The address lists can be edited, but the report format specifications should not be modified. If an address list is long, it can be split into several entries (lines) with the same report format specification, but PPPPaaaaggggeeee 1111 aaaammmmccccoooonnnnffffiiiigggg((((1111mmmm)))) aaaammmmccccoooonnnnffffiiiigggg((((1111mmmm)))) and the total length of the addresses list cannot exceed 1024 characters. An alias can be used to shorten the total length. If an address is added to aaaauuuuttttooooeeeemmmmaaaaiiiillll....lllliiiisssstttt and aaaauuuuttttooooeeeemmmmaaaaiiiillll is oooonnnn, _a_m_c_o_n_f_i_g will send a registration report to the newly configured address. Or if an existing address is deleted (and aaaauuuuttttooooeeeemmmmaaaaiiiillll is oooonnnn), _a_m_c_o_n_f_i_g will send a deregistration report to the deleted address. For either action, there is no need to change the aaaauuuuttttooooeeeemmmmaaaaiiiillll setting. Default configuration upon installation is: _a_u_t_o_e_m_a_i_l ooooffffffff _s_h_u_t_d_o_w_n_r_e_a_s_o_n oooonnnn for high-end systems ooooffffffff otherwise _t_i_c_k_e_r_d oooonnnn for high-end systems ooooffffffff otherwise _h_i_n_v_u_p_d_a_t_e oooonnnn for high-end systems ooooffffffff otherwise _s_t_a_t_u_s_i_n_t_e_r_v_a_l 66660000 (disabled if tickerd is off) _t_i_c_k_d_u_r_a_t_i_o_n 333300000000 (disabled if tickerd is off) _a_u_t_o_e_m_a_i_l._l_i_s_t availability (compressed,encrypted): availability (compressed): availability (text): diagnosis (compressed,encrypted): aaaavvvvaaaaiiiillllmmmmoooonnnn@@@@ccccssssdddd....ssssggggiiii....ccccoooommmm diagnosis (compressed): diagnosis (text): pager (text): SSSSYYYYSSSSLLLLOOOOGGGGDDDD CCCCOOOONNNNFFFFIIIIGGGGUUUURRRRAAAATTTTIIIIOOOONNNN RRRREEEEQQQQUUUUIIIIRRRREEEEMMMMEEEENNNNTTTT In order for eeeesssspppp((((5555)))) to capture Kernel Availability events and send reports ( if configured ), it is necessary to configure the file /etc/syslog.conf. Make sure the following entry is present: *.notice |/usr/etc/amfilter The following are the Availability Events captured in the Kernel: MAINT-NEEDED SYS-DEGRADED CONFIG-ISSUE TOOK-ACTION PPPPaaaaggggeeee 2222 aaaammmmccccoooonnnnffffiiiigggg((((1111mmmm)))) aaaammmmccccoooonnnnffffiiiigggg((((1111mmmm)))) SSSSEEEEEEEE AAAALLLLSSSSOOOO esp(5), availmon(5), eventmond(1M), chkconfig(1M), vi(1). PPPPaaaaggggeeee 3333